﻿using System;
using System.Collections.Generic;

namespace Pay.DTO {
	/// <summary>
	/// 库存规格表：查询返回
	/// </summary>
	[Serializable]
	public class sku_info_dto {
		public sku_info_dto() {
			sku_values = new List<sku_value_dto>();
		}
		/// <summary>
		/// id
		/// </summary>
		public long id { get; set; }
        /// <summary>
        /// 商户id
        /// 直接传商户id
        /// </summary>
        public long merchant_id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
		/// <summary>
		/// sku值集合
		/// </summary>
		public List<sku_value_dto> sku_values { get; set; }
	}
	/// <summary>
	/// 库存规格表：提交请求
	/// </summary>
	[Serializable]
	public class sku_info_model : head_req {
		public sku_info_model() {
			sku_values = new List<sku_value_dto>();
		}
		/// <summary>
		/// id
		/// </summary>
		public long id { get; set; }
		/// <summary>
		/// 名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// sku值集合
		/// </summary>
		public List<sku_value_dto> sku_values { get; set; }
	}
}
